package ru.yermak.bookkeeping.account;

import ru.yermak.bookkeeping.model.Account;
import ru.yermak.bookkeeping.model.Currency;

import java.util.List;

/**
 * User: harrier
 * Date: Aug 10, 2008
 */
public interface AccountDao {


    public List<Account> getAccountsByUserId(Integer userId);

    Integer insertAccount(Account account);

    Account getById(Integer accountId);

    void updateAccount(Account account);

    void removeAccount(Account account);
}
